//Saves the game
var openFile;
openFile = file_bin_open("testFile.pssave",1)
procGame(openFile,oGameMaster);

for(i=0;i<instance_number(testArmy);i+=1)
{
    file_bin_write_byte(openFile,instance_find(testArmy,i).x)
    file_bin_write_byte(openFile,instance_find(testArmy,i).y)
}

file_bin_close(openFile);
show_message("Game Saved!");
